3.1475 \(\int \frac {x}{1-x^8} \, dx\)

Optimal. Leaf size=17 \[ \frac {1}{4} \tan ^{-1}\left (x^2\right )+\frac {1}{4} \tanh ^{-1}\left (x^2\right ) \]

[Out]

1/4*arctan(x^2)+1/4*arctanh(x^2)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {275, 212, 206, 203} \[ \frac {1}{4} \tan ^{-1}\left (x^2\right )+\frac {1}{4} \tanh ^{-1}\left (x^2\right ) \]

Antiderivative was successfully verified.

[In]

Int[x/(1 - x^8),x]

[Out]

ArcTan[x^2]/4 + ArcTanh[x^2]/4

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 212

Int[((a_) + (b_.)*(x_)^4)^(-1), x_Symbol] :> With[{r = Numerator[Rt[-(a/b), 2]], s = Denominator[Rt[-(a/b), 2]
]}, Dist[r/(2*a), Int[1/(r - s*x^2), x], x] + Dist[r/(2*a), Int[1/(r + s*x^2), x], x]] /; FreeQ[{a, b}, x] &&
 !GtQ[a/b, 0]

Rule 275

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = GCD[m + 1, n]}, Dist[1/k, Subst[Int[x^((m
 + 1)/k - 1)*(a + b*x^(n/k))^p, x], x, x^k], x] /; k != 1] /; FreeQ[{a, b, p}, x] && IGtQ[n, 0] && IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {x}{1-x^8} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{1-x^4} \, dx,x,x^2\right )\\ &=\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,x^2\right )+\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,x^2\right )\\ &=\frac {1}{4} \tan ^{-1}\left (x^2\right )+\frac {1}{4} \tanh ^{-1}\left (x^2\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 31, normalized size = 1.82 \[ -\frac {1}{8} \log \left (1-x^2\right )+\frac {1}{8} \log \left (x^2+1\right )-\frac {1}{4} \tan ^{-1}\left (\frac {1}{x^2}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x/(1 - x^8),x]

[Out]

-1/4*ArcTan[x^(-2)] - Log[1 - x^2]/8 + Log[1 + x^2]/8

________________________________________________________________________________________

fricas [A]  time = 0.60, size = 23, normalized size = 1.35 \[ \frac {1}{4} \, \arctan \left (x^{2}\right ) + \frac {1}{8} \, \log \left (x^{2} + 1\right ) - \frac {1}{8} \, \log \left (x^{2} - 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(-x^8+1),x, algorithm="fricas")

[Out]

1/4*arctan(x^2) + 1/8*log(x^2 + 1) - 1/8*log(x^2 - 1)

________________________________________________________________________________________

giac [A]  time = 0.15, size = 24, normalized size = 1.41 \[ \frac {1}{4} \, \arctan \left (x^{2}\right ) + \frac {1}{8} \, \log \left (x^{2} + 1\right ) - \frac {1}{8} \, \log \left ({\left | x^{2} - 1 \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(-x^8+1),x, algorithm="giac")

[Out]

1/4*arctan(x^2) + 1/8*log(x^2 + 1) - 1/8*log(abs(x^2 - 1))

________________________________________________________________________________________

maple [B]  time = 0.00, size = 28, normalized size = 1.65 \[ \frac {\arctan \left (x^{2}\right )}{4}-\frac {\ln \left (x -1\right )}{8}-\frac {\ln \left (x +1\right )}{8}+\frac {\ln \left (x^{2}+1\right )}{8} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(-x^8+1),x)

[Out]

-1/8*ln(x-1)-1/8*ln(x+1)+1/8*ln(x^2+1)+1/4*arctan(x^2)

________________________________________________________________________________________

maxima [A]  time = 2.42, size = 23, normalized size = 1.35 \[ \frac {1}{4} \, \arctan \left (x^{2}\right ) + \frac {1}{8} \, \log \left (x^{2} + 1\right ) - \frac {1}{8} \, \log \left (x^{2} - 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(-x^8+1),x, algorithm="maxima")

[Out]

1/4*arctan(x^2) + 1/8*log(x^2 + 1) - 1/8*log(x^2 - 1)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 13, normalized size = 0.76 \[ \frac {\mathrm {atan}\left (x^2\right )}{4}+\frac {\mathrm {atanh}\left (x^2\right )}{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-x/(x^8 - 1),x)

[Out]

atan(x^2)/4 + atanh(x^2)/4

________________________________________________________________________________________

sympy [A]  time = 0.28, size = 22, normalized size = 1.29 \[ - \frac {\log {\left (x^{2} - 1 \right )}}{8} + \frac {\log {\left (x^{2} + 1 \right )}}{8} + \frac {\operatorname {atan}{\left (x^{2} \right )}}{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(-x**8+1),x)

[Out]

-log(x**2 - 1)/8 + log(x**2 + 1)/8 + atan(x**2)/4

________________________________________________________________________________________